//
//  main.m
//  aaaaa
//
//  Created by qianfeng on 15/8/3.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XYtest.h"
int main(int argc, const char * argv[]) {
    @autoreleasepool {
        //1.
        NSString * str = [XYtest niXu:@"jkjkjkjk"];
        NSLog(@"%@",str);
        //2.
        NSString* str1 = [XYtest yaSuo:@"aasssxxxyyyjjjkkkddd"];
        NSLog(@"%@",str1);
        //3.
        NSString * str2 = [XYtest sortString:@"abcdabcdabcdjikjikjk"];
        NSLog(@"%@",str2);
        //4.
        NSString * str3 = [XYtest reveserChacter:@"sdfjNKJDnjfKJhdnNk"];
        NSLog(@"%@",str3);
        //5.
        NSLog(@"%@",[XYtest replaceString:[NSMutableString stringWithString:@"abcdaabbccdef"] betweenStartKey:@"da" andEndKey:@"cde"]);
    }
    return 0;
}




















